package com.kaoshi.myweb.webtest.java.proxy;


public class ProxyStudy {
	public static void main(String[] args) { 
		ElectricCar car = new ElectricCar();
		
		VehicleProxy vehicleProxy = new VehicleProxy();
		IVehicle vehicle = (IVehicle)vehicleProxy.bind(car);
		vehicle.drive();
	}
}
